//
//  selectContactViewController.h
//  TTAddressBook
//
//  Created by 贾政阳 on 12-1-13.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIBaseViewController.h"
#import "composeMessageViewController.h"
@interface ContactInfo : NSObject
{
@private
	NSString*		name;
	BOOL			checked;
}

@property (nonatomic, copy)		NSString*		name;
@property (nonatomic, assign)	BOOL			checked;
@end

@interface selectContactViewController : UIBaseViewController<UITableViewDelegate, UITableViewDataSource,UISearchDisplayDelegate,UISearchBarDelegate>{
    
    NSMutableArray* contactInfoArray;
    NSArray         *keys;
    NSArray         *keyArray;
    NSMutableArray	*filteredListContent;	// The content filtered as a result of a search.
    UISearchBar *selSearchBar;
	UISearchDisplayController *searchDC;
    
    composeMessageViewController* composeMessageView;
}
@property (nonatomic, retain) NSArray   *keys;
@property (nonatomic, retain) NSMutableArray    *filteredListContent;

- (id)initWithViewController:(composeMessageViewController*)view;
@end
